﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp7
{
    class Duck : Animal, ISkill
    {
        public Duck(string name) : base(name)
        { }

        public void Skill()
        {
            Console.WriteLine("我会吃和游泳");
        }
    }
}
